package cn.lzm.system.mapper;

import cn.lzm.system.domain.Menu;
import cn.lzm.basic.mapper.BaseMapper;
import cn.lzm.system.domain.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzm
 * @since 2022-10-24
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findAll();

    List<Menu> tree();

    List<Menu> findByIds(@Param("menuIds") List menuIds);
}
